package com.lance.shiro.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.sql.Date;
import java.sql.Timestamp;


@Table(name = "i_salesNotification")
public class ISalesNotification {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 11, isKey = true, isAutoIncrement = true)
    private int id;

    @Column(name = "propertyId", type = MySqlTypeConstant.INT, length = 11)
    private Integer propertyId;
    private IProperty property;

    @Column(name = "propertyListId", type = MySqlTypeConstant.INT, length = 11)
    private Integer propertyListId;
    private IPropertyList propertyList;

    @Column(name = "agentId", type = MySqlTypeConstant.INT, length = 11)
    private Integer agentId;
    private IUser agent;

    @Column(name = "customerId", type = MySqlTypeConstant.INT, length = 11)
    private Integer customerId;
    private IUser customer;

    @Column(name = "solicitorId", type = MySqlTypeConstant.INT, length = 11)
    private Integer solicitorId;
    private ISolicitor solicitor;

    @Column(name = "saleNotificationContent", type = MySqlTypeConstant.VARCHAR, length = 1024)
    private String saleNotificationContent;

    @Column(name = "submitNotifySaleTime", type = MySqlTypeConstant.DATETIME, length = 80)
    private Timestamp submitNotifySaleTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(Integer propertyId) {
        this.propertyId = propertyId;
    }

    public IProperty getProperty() {
        return property;
    }

    public void setProperty(IProperty property) {
        this.property = property;
    }

    public Integer getPropertyListId() {
        return propertyListId;
    }

    public void setPropertyListId(Integer propertyListId) {
        this.propertyListId = propertyListId;
    }

    public IPropertyList getPropertyList() {
        return propertyList;
    }

    public void setPropertyList(IPropertyList propertyList) {
        this.propertyList = propertyList;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public IUser getAgent() {
        return agent;
    }

    public void setAgent(IUser agent) {
        this.agent = agent;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public IUser getCustomer() {
        return customer;
    }

    public void setCustomer(IUser customer) {
        this.customer = customer;
    }

    public Integer getSolicitorId() {
        return solicitorId;
    }

    public void setSolicitorId(Integer solicitorId) {
        this.solicitorId = solicitorId;
    }

    public ISolicitor getSolicitor() {
        return solicitor;
    }

    public void setSolicitor(ISolicitor solicitor) {
        this.solicitor = solicitor;
    }

    public String getSaleNotificationContent() {
        return saleNotificationContent;
    }

    public void setSaleNotificationContent(String saleNotificationContent) {
        this.saleNotificationContent = saleNotificationContent;
    }

    public Timestamp getSubmitNotifySaleTime() {
        return submitNotifySaleTime;
    }

    public void setSubmitNotifySaleTime(Timestamp submitNotifySaleTime) {
        this.submitNotifySaleTime = submitNotifySaleTime;
    }
}
